[INFO] cloning repository https://github.com/Kabbage2/Chess-engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kabbage2/Chess-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKabbage2%2FChess-engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKabbage2%2FChess-engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6aba157e0c3cea6c91840be5e621309417cd83f3
[INFO] fixing Kabbage2/Chess-engine against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKabbage2%2FChess-engine" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Kabbage2/Chess-engine
[INFO] finished tweaking git repo https://github.com/Kabbage2/Chess-engine
[INFO] tweaked toml for git repo https://github.com/Kabbage2/Chess-engine written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kabbage2/Chess-engine on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kabbage2/Chess-engine already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9f907166adce2bf9d8e13d6491ade3bb410ab1430bb6e544fdca5959cbb534d1
[INFO] running `Command { std: "docker" "start" "9f907166adce2bf9d8e13d6491ade3bb410ab1430bb6e544fdca5959cbb534d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9f907166adce2bf9d8e13d6491ade3bb410ab1430bb6e544fdca5959cbb534d1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f907166adce2bf9d8e13d6491ade3bb410ab1430bb6e544fdca5959cbb534d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9f907166adce2bf9d8e13d6491ade3bb410ab1430bb6e544fdca5959cbb534d1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking chess-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found `8rank`
[INFO] [stdout]  --> src/movegenerator.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const 8rank: u64 = 18374686479671623680;
[INFO] [stdout]   |           ^^^^^ expected identifier
[INFO] [stdout]   |
[INFO] [stdout] help: identifiers cannot start with a number
[INFO] [stdout]  --> src/movegenerator.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const 8rank: u64 = 18374686479671623680;
[INFO] [stdout]   |           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `1rank`
[INFO] [stdout]  --> src/movegenerator.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const 1rank: u64 = 255;
[INFO] [stdout]   |           ^^^^^ expected identifier
[INFO] [stdout]   |
[INFO] [stdout] help: identifiers cannot start with a number
[INFO] [stdout]  --> src/movegenerator.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const 1rank: u64 = 255;
[INFO] [stdout]   |           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]   --> src/movegenerator.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | let mvs_since_kngmv: u64 = 0;
[INFO] [stdout]    | ^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | `let` cannot be used for global variables
[INFO] [stdout]    | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/main.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |         wpieces : [16, 8, 1,128 ,66, 36, 65280],
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a size of 6, found one with a size of 7
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/main.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | ... : [1152921504606846976, 9223372036854775808, 72057594037927936,2594073385365405696, 4755801206503243776, 9295429630892703744, 71776119061217280],
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a size of 6, found one with a size of 7
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 |       if castling_rights & 0b00000010 == 0b00000010 {
[INFO] [stdout]    |  ___________________________________________________^
[INFO] [stdout] 20 | |         //todo
[INFO] [stdout] 21 | |     } else if castling_rights & 0b00000001 == 0b00000001 {
[INFO] [stdout]    | |_____^ expected `u64`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:21:58
[INFO] [stdout]    |
[INFO] [stdout] 21 |       } else if castling_rights & 0b00000001 == 0b00000001 {
[INFO] [stdout]    |  __________________________________________________________^
[INFO] [stdout] 22 | |         //todo
[INFO] [stdout] 23 | |     }
[INFO] [stdout]    | |_____^ expected `u64`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:31:51
[INFO] [stdout]    |
[INFO] [stdout] 31 |       if castling_rights & 0b01000000 == 0b010000000{
[INFO] [stdout]    |  ___________________________________________________^
[INFO] [stdout] 32 | |         //todo
[INFO] [stdout] 33 | |     }
[INFO] [stdout]    | |_____^ expected `u64`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess-engine` (bin "chess-engine") due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: expected identifier, found `8rank`
[INFO] [stdout]  --> src/movegenerator.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const 8rank: u64 = 18374686479671623680;
[INFO] [stdout]   |           ^^^^^ expected identifier
[INFO] [stdout]   |
[INFO] [stdout] help: identifiers cannot start with a number
[INFO] [stdout]  --> src/movegenerator.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const 8rank: u64 = 18374686479671623680;
[INFO] [stdout]   |           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `1rank`
[INFO] [stdout]  --> src/movegenerator.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const 1rank: u64 = 255;
[INFO] [stdout]   |           ^^^^^ expected identifier
[INFO] [stdout]   |
[INFO] [stdout] help: identifiers cannot start with a number
[INFO] [stdout]  --> src/movegenerator.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const 1rank: u64 = 255;
[INFO] [stdout]   |           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]   --> src/movegenerator.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | let mvs_since_kngmv: u64 = 0;
[INFO] [stdout]    | ^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | `let` cannot be used for global variables
[INFO] [stdout]    | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/main.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |         wpieces : [16, 8, 1,128 ,66, 36, 65280],
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a size of 6, found one with a size of 7
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/main.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | ... : [1152921504606846976, 9223372036854775808, 72057594037927936,2594073385365405696, 4755801206503243776, 9295429630892703744, 71776119061217280],
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a size of 6, found one with a size of 7
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 |       if castling_rights & 0b00000010 == 0b00000010 {
[INFO] [stdout]    |  ___________________________________________________^
[INFO] [stdout] 20 | |         //todo
[INFO] [stdout] 21 | |     } else if castling_rights & 0b00000001 == 0b00000001 {
[INFO] [stdout]    | |_____^ expected `u64`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:21:58
[INFO] [stdout]    |
[INFO] [stdout] 21 |       } else if castling_rights & 0b00000001 == 0b00000001 {
[INFO] [stdout]    |  __________________________________________________________^
[INFO] [stdout] 22 | |         //todo
[INFO] [stdout] 23 | |     }
[INFO] [stdout]    | |_____^ expected `u64`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:31:51
[INFO] [stdout]    |
[INFO] [stdout] 31 |       if castling_rights & 0b01000000 == 0b010000000{
[INFO] [stdout]    |  ___________________________________________________^
[INFO] [stdout] 32 | |         //todo
[INFO] [stdout] 33 | |     }
[INFO] [stdout]    | |_____^ expected `u64`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess-engine` (bin "chess-engine" test) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "9f907166adce2bf9d8e13d6491ade3bb410ab1430bb6e544fdca5959cbb534d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f907166adce2bf9d8e13d6491ade3bb410ab1430bb6e544fdca5959cbb534d1", kill_on_drop: false }`
[INFO] [stdout] 9f907166adce2bf9d8e13d6491ade3bb410ab1430bb6e544fdca5959cbb534d1
